package com.pda.xinma.contract;

import com.pda.xinma.bean.CompleteBean;
import com.pda.xinma.bean.ConnectionBean;
import com.pda.xinma.bean.InStoregeListBean;
import com.pda.xinma.bean.OrderBean;
import com.pda.xinma.bean.ProcessBean;
import com.pda.xinma.bean.ScanBean;
import com.pda.xinma.bean.ScanResultBean;
import com.pda.xinma.bean.SelectBean;
import com.pda.xinma.bean.UserBean;
import com.pda.xinma.bean.WorkSurfaceBean;
import com.pda.xinma.bean.request.CompleteRequest;
import com.pda.xinma.bean.request.ConfirmEntry;
import com.pda.xinma.bean.request.RecommendRequest;
import com.wangshen.base.ui.mvp.base.view.BaseView;

import java.util.List;

import retrofit2.http.Body;
import retrofit2.http.Path;

public class InStoregeContract {
    public interface Presenter{
        void getCenterByUserId();
        void getConnectionByCenter( String centerCode);
        void getCenterList( String orderNo, String centerCode);
        void getCenterList2( String orderNo, String centerCode);
        void getComplete(String orderNo, String processId);
        void getUserByCenterCode( String orderNo);
        void confirmComplete( CompleteRequest request);
        void getManzSpecList(InStoregeListBean inStoregeListBean);
        void getOrderByNo(String orderNo);
        void scanTheQRCodeToVerify(String code);
        void confirmEntry( ConfirmEntry request);
        void recommendBin(RecommendRequest request);
    }
    public interface View extends BaseView {
        void setFaceList(List<WorkSurfaceBean> list);
        void setConnectionList(List<ConnectionBean> list);
        void setProcessList(List<ProcessBean> list);
        void setComplete(CompleteBean complete);
        void setUserList(List<UserBean> list);
        void setManzList(List<SelectBean> list, InStoregeListBean inStoregeListBean);
        void setData(OrderBean orderBean);
        void setScanBean(ScanResultBean scanBean);
        void setRecommend(RecommendRequest request);
        void setSaveSuccess();
        void onSuccess();
    }
}
